package com.example.demo.bean;

import lombok.Data;

import java.util.Date;

//另一种写法，goodsSeckill是goods的从表
@Data
public class GoodsSeckill extends Goods {
    private Double seckillPrice;
    private Integer stockCount;
    private Date startDate;
    private Date endDate;
    private Integer version;

    public Long getGoodsId(){
        return super.getId();
    }
}
